home *** CD-ROM | disk | FTP | other *** search
/ gdead.berkeley.edu / gdead.berkeley.edu.tar / gdead.berkeley.edu / pub / gdead / mac / stack-o-dead-1.8 / stack-o-dead-1.8.2.sit.hqx / Dead Labels / stack_-1.xml < prev   
Extensible Markup Language  |  1991-03-17  |  3KB  |  20 lines

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!DOCTYPE stack PUBLIC "-//Apple, Inc.//DTD stack V 2.0//EN" "" >
  3. <stack>
  4.     <name>in</name>
  5.     <id>-1</id>
  6.     <cardCount>1</cardCount>
  7.     <cardID>2830</cardID>
  8.     <listID>4355</listID>
  9.     <cantModify><false /></cantModify>
  10.     <cantDelete><false /></cantDelete>
  11.     <cantAbort><false /></cantAbort>
  12.     <cardSize>
  13.         <width>512</width>
  14.         <height>342</height>
  15.     </cardSize>
  16.     <script>--  Version 1.8.1.  Version 1.8 with bug fixes for printing.--  Fixes handleing of the title fields and the narrow labels--  problem introduced by HyperCard 2.0on openStack----  This script will ensure that the config setup happens--  even if SOD is started by directly entering this stack--global soundOn, noGoif soundOn is empty thenlock screenpush this card--  Just going to this card sets it up via it's openCard handlerput true into noGogo card "Dead Config" of stack "Dead Utility"if soundOn is empty thensetDeadDefaultsend ifpop cardend ifhide messageend openStackon setDeadDefaultsglobal soundOnglobal soundStackglobal deadDirglobal defFileCreator--put false into soundOnput "Dead Utility" into soundStackput empty into deadDirput "MACA" into defFileCreatorend setDeadDefaultson closeStackset the style of background field "side A" to transparentset the style of background field "side B" to transparentpass closeStackend closeStackon searchpush this cardset the lockScreen to truego card "song search utility" of stack "Dead Utility"selectStack "Labels"end searchon showBusyglobal bearNumadd 1 to bearNumif bearNum = 9 then put 1 into bearNumset cursor to "Bear" & bearNumend showBusy--  NOTE:  These scripts play songs from the stack specified in--         the configuration card in the utility stackon playDead songglobal soundStackpush this cardlock screenif soundStack is empty thenfindSoundStackend ifgo stack soundStackif the result is empty thenplayDeadSong songend ifpop cardend playDeadon playRandomDeadglobal soundStackpush this cardlock screenif soundStack is empty thenfindSoundStackend ifgo stack soundStackif the result is empty thenplayRandomDeadSongend ifpop cardend playRandomDead--  This handler manages help text for buttons and fields--  by taking the text from comments at the end of the scripts--on doHelpset the cursor to watchlock screenput "Help for " & the name of the target & "..." & return & return┬¼into field "help text"put the script of the target into theScript--repeat with i = 1 to the number of lines of theScript-- showBusyput line i of theScript into oneLineif oneLine is empty then next repeatif char 1 of oneLine is not "-" then exit repeatdelete char 1 to 2 of oneLineput oneLine & return after field "help text"end repeatshow field "help text"unlock screen with visual effect dissolve fastend doHelp</script>
  17.     <background id="2764" file="background_2764.xml" name="Dead  Label" />
  18.     <card id="2830" file="card_2830.xml" marked="false" name="" owner="2764" />
  19. </stack>
  20.